mkdir build
mkdir build\chrome
mkdir build\chrome\content
mkdir build\chrome\content\websitenotes
mkdir build\chrome\skin
mkdir build\chrome\skin\classic
mkdir build\chrome\skin\classic\websitenotes
mkdir build\defaults
mkdir build\defaults\preferences

copy .\src\content\* .\build\chrome\content\websitenotes\
copy .\src\skins\classic\* .\build\chrome\skin\classic\websitenotes\
copy .\src\defaults\* .\build\defaults\preferences\
copy .\src\install\* .\build\

cd build\chrome
jar cvMf websitenotes.jar content skin
rmdir /S /Q content
rmdir /S /Q skin
cd ..
zip -r websitenotes.xpi *
move websitenotes.xpi ..
cd ..
rmdir /S /Q build

